package com.gzhuxj201.service;

import com.gzhuxj201.entity.PageBean;
import com.gzhuxj201.entity.Student;
import com.gzhuxj201.entity.StudentDto;

import java.util.List;
import java.util.Map;

public interface StudentService {

    PageBean page(Integer page, Integer pageSize,String sno,String username,Short gender);

    int add(Student student);

    StudentDto selectById(String sno);

    int update(Student student);

    int deleteByIds(List<Integer> snos);

    Student login(String username, String password);

    Student selectByUsername(String username);

    List<Student> selectUnsubmitStu(Integer id, String courseId);
}
